package javaAgent;

import javaAgent.probe.ProfilingTransformer;

import java.lang.instrument.Instrumentation;

/**
 * @author zhangjunfei
 * @date 2021/12/13 14:20
 */
public class PreMain {

    public static void premain(String agentArgs, Instrumentation inst){
        inst.addTransformer(new ProfilingTransformer());
    }

    public static void premain(String agentArgs) {

    }
}
